package com.ruoyi.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 楼盘相册对象 dz_xiangce
 * 
 * @author ruoyi
 * @date 2023-08-16
 */
public class DzXiangce extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 相册id */
    private Long xcId;

    /** 相册名称 */
    @Excel(name = "相册名称")
    private String xcname;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createtime;

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    /** 相册类型 */
    @Excel(name = "相册类型")
    private String xctype;

    /** 文件位置 */
    @Excel(name = "文件位置")
    private String fileurl;

    /** 所属小区 */
    @Excel(name = "所属小区")
    private Long xqId;

    public void setXcId(Long xcId) 
    {
        this.xcId = xcId;
    }

    public Long getXcId() 
    {
        return xcId;
    }
    public void setXcname(String xcname) 
    {
        this.xcname = xcname;
    }

    public String getXcname() 
    {
        return xcname;
    }
    public void setXctype(String xctype) 
    {
        this.xctype = xctype;
    }

    public String getXctype() 
    {
        return xctype;
    }
    public void setFileurl(String fileurl) 
    {
        this.fileurl = fileurl;
    }

    public String getFileurl() 
    {
        return fileurl;
    }
    public void setXqId(Long xqId) 
    {
        this.xqId = xqId;
    }

    public Long getXqId() 
    {
        return xqId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("xcId", getXcId())
            .append("xcname", getXcname())
            .append("xctype", getXctype())
            .append("fileurl", getFileurl())
            .append("xqId", getXqId())
            .toString();
    }
}
